﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ProjectFitus.Models.Request>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf.is | Senda Spurningu
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

     
            <h2>Sendu okkur spurningu</h2>

            <div class="editor-field">
            <h5>Titill:</h5>
                <%: Html.TextBoxFor(model => model.requestTitle) %>
                <%: Html.ValidationMessageFor(model => model.requestTitle) %>
            </div>
            
            
            <div class="editor-field">
                <h5>Spurning:</h5>
                <%: Html.TextAreaFor(model => model.requestDescription, new {cols="40", rows="10" })%>
                <%: Html.ValidationMessageFor(model => model.requestDescription) %>
            </div>
            
            <p>
                <input type="submit" value="Senda" />
            </p>

    <% } %>

    <div>
        <%: Html.ActionLink("Til baka á forsíðu", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="SideContent" runat="server">
</asp:Content>

